package ae.pcfc.cldos.online.common.delegate.provider;

import ae.pcfc.cldos.online.common.delegate.BaseDelegate;
import ae.pcfc.cldos.online.common.delegate.CompanyAdminDelegate;
import ae.pcfc.cldos.online.common.facade.CompanyAdminFacade;
import ae.pcfc.cldos.online.common.vo.AdminDecisionVO;
import ae.pcfc.cldos.online.common.vo.AppSaveResponseVO;
import ae.pcfc.cldos.online.common.vo.UserVO;

/**
 * 
 * @author arosa
 *
 */
public class CompanyAdminDelegateImpl extends BaseDelegate implements CompanyAdminDelegate {

	public AppSaveResponseVO companyAdminAction(AdminDecisionVO adminDecisionVO) throws Exception {
		return getServiceLocator().getFacadeService(CompanyAdminFacade.class).companyAdminAction(adminDecisionVO);
	}

	public void cancelProcess(String appId, UserVO userVO) throws Exception {
		getServiceLocator().getFacadeService(CompanyAdminFacade.class).cancelProcess(appId, userVO);
	}
	
}
